package com.tao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tao.entity.User;
import com.tao.vo.ResponseResult;


/**
 * (User)表服务接口
 *
 * @author 季伟
 * @since 2023-05-03 20:03:30
 */
public interface UserService extends IService<User> {
    //获取登录用户的信息
    User getByUserId(Long userId);

    ResponseResult register(User user);

    ResponseResult selectByUserId(Long userId);

    ResponseResult topUp(Long userId, Integer money);

    ResponseResult getUserInfoById(Long id);
}

